package org.liang.system.service;

import org.liang.auth.dto.LoginDTO;
import org.liang.base.service.IBaseService;
import org.liang.system.domain.Employee;
import org.liang.system.domain.EmployeeDTO;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee> {

    Employee selectByUserName(LoginDTO loginDTO);

    List<EmployeeDTO> queryAll(String key);
    List<EmployeeDTO> queryAll();

    void batchInsert(List<EmployeeDTO> right);

    List<String> selectPermissionSnsById(Long id);
}
